listbox: Mark activatable rows with a .activatable style class
authorBenjamin Otte <otte@redhat.com>
Tue, 25 Aug 2015 00:08:29 +0000 (02:08 +0200)
committerBenjamin Otte <otte@redhat.com>
Wed, 26 Aug 2015 13:46:07 +0000 (15:46 +0200)
commit207e593075b01815973c4bfcb5a0d90f1de8d11e
tree92cdd98b406127fe2232615d6da7b66746c7ab3f
parent0897a7a43d7ef946e2dab606b0c6a0db3254d5a0
listbox: Mark activatable rows with a .activatable style class

Do not use .button anymore.

This is for 2 reasons:
1. The styling is seperate in our themes, so it doesn't make sense to
   share the style class.
2. Due to the shared styling of .buton, listbox rows inherit all the
   special case styles that exist for buttons - such as linked buttons,
   header buttons, entry buttons, spinbutton buttons, etc. This means
   that the code has to check all these special cases all the time and
   for listbox rows, this is very slow.
gtk/gtklistbox.c
gtk/theme/Adwaita/_common.scss
gtk/theme/Adwaita/gtk-contained-dark.css
gtk/theme/Adwaita/gtk-contained.css
gtk/theme/HighContrast/_common.scss
gtk/theme/HighContrast/gtk.css